Skip to content

Bump cardano-api to 11.12.0 and add new protocol params in CLI options - #1497

Merged
palas merged 1 commit into
masterfrom
koslambrou/bump-cardano-api-11.12.0
Nov 5, 2026
Merged

palas merged 1 commit into
masterfrom
koslambrou/bump-cardano-api-11.12.0

Conversation

@koslambrou

@koslambrou koslambrou commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

Bump cardano-api to 11.12.0, which adds ten fields to IntroducedInDijkstraPParams, and expose each of them on governance action create-protocol-parameters-update:

  --min-pool-margin
  --max-pledge-leverage / --no-max-pledge-leverage
  --peras-min-candidate-block-age
  --peras-healing-factor
  --peras-cert-boost
  --peras-target-committee-size
  --peras-bootstrap-round / --no-peras-bootstrap-round
  --peras-quorum-threshold-safety-margin
  --ref-inputs-cost-per-multi-asset-policy
  --ref-inputs-cost-per-datum-byte

The max pledge leverage and Peras bootstrap round parameters are themselves optional, so the --no- flags propose setting them to "no value", which is distinct from leaving them out of the update.

Extend the Dijkstra protocol parameters update golden test to set every new parameter, and regenerate the help golden files.

Checklist

  • Commit sequence broadly makes sense and commits have useful messages
  • New tests are added if needed and existing tests are updated. See Running tests for more details
  • Self-reviewed the diff
  • Changelog fragment added in .changes/

@koslambrou
koslambrou marked this pull request as draft November 5, 2026 15:50
@palas
palas force-pushed the koslambrou/bump-cardano-api-11.12.0 branch from d689273 to fb1da14 Compare November 5, 2026 19:59
@koslambrou
koslambrou force-pushed the koslambrou/bump-cardano-api-11.12.0 branch from fb1da14 to ec4bf89 Compare November 5, 2026 20:23
@koslambrou
koslambrou marked this pull request as ready for review November 5, 2026 20:24
@koslambrou
koslambrou force-pushed the koslambrou/bump-cardano-api-11.12.0 branch 3 times, most recently from dfd4a5b to 59cdb84 Compare November 5, 2026 20:32
Bump cardano-api which adds ten fields to `IntroducedInDijkstraPParams`,
and expose each of them on `governance action
create-protocol-parameters-update`:

```
  --min-pool-margin
  --max-pledge-leverage / --no-max-pledge-leverage
  --peras-min-candidate-block-age
  --peras-healing-factor
  --peras-cert-boost
  --peras-target-committee-size
  --peras-bootstrap-round / --no-peras-bootstrap-round
  --peras-quorum-threshold-safety-margin
  --ref-inputs-cost-per-multi-asset-policy
  --ref-inputs-cost-per-datum-byte
```

The max pledge leverage and Peras bootstrap round parameters are
themselves optional, so the --no- flags propose setting them to "no
value", which is distinct from leaving them out of the update.

Extend the Dijkstra protocol parameters update golden test to set every
new parameter, and regenerate the help golden files.
@koslambrou
koslambrou force-pushed the koslambrou/bump-cardano-api-11.12.0 branch from 59cdb84 to b8fcef3 Compare November 5, 2026 20:32

@palas palas left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good 👍. We could improve the errors for invalid values passed to the flags, which fail a bit abruptly for some values, but that is not just for this PR, so I am not blocking it for this reason.

@palas
palas added this pull request to the merge queue Nov 5, 2026
Merged via the queue into master with commit 807d84f Nov 5, 2026
25 checks passed
@palas
palas deleted the koslambrou/bump-cardano-api-11.12.0 branch November 5, 2026 22:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants